package com.chinasoft.ecommerceconsumptionanalysissystem.service.impl;

import com.chinasoft.ecommerceconsumptionanalysissystem.mapper.UserPowerByAgeLayerMapper;
import com.chinasoft.ecommerceconsumptionanalysissystem.pojo.UserPowerByAgeLayer;
import com.chinasoft.ecommerceconsumptionanalysissystem.service.UserPowerByAgeLayerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserPowerByAgeLayerServiceImpl implements UserPowerByAgeLayerService {
    @Autowired
    private UserPowerByAgeLayerMapper userPowerByAgeLayerMapper;

    @Override
    public List<UserPowerByAgeLayer> selectAll() {
        return userPowerByAgeLayerMapper.selectAll();
    }

    @Override
    public int insert(UserPowerByAgeLayer userPowerByAgeLayer) {
        return userPowerByAgeLayerMapper.insert(userPowerByAgeLayer);
    }
}
